Skip to content

Fix propagation tag serialization for trace chunks - #12096

Draft
sarahchen6 wants to merge 1 commit into
masterfrom
sarahchen6/fix-dd-p-metadata-propagation
Draft

Fix propagation tag serialization for trace chunks#12096
sarahchen6 wants to merge 1 commit into
masterfrom
sarahchen6/fix-dd-p-metadata-propagation

Conversation

@sarahchen6

Copy link
Copy Markdown
Contributor

What Does This Do

Serialize the root span’s _dd.p.* propagation metadata on the first span of every V0.4, V0.5, and V1 protocol trace chunk

Motivation

Trace chunks that do not include the root lose the trace-level propagation tags as seen in the problem that #12092, which is specific to _dd.p.dm. Every chunk should carry this trace context exactly once.

Additional Notes

The changes in this PR resolve the root’s propagation tags directly, so the patch fix in #12092 would no longer be needed.

Contributor Checklist

Jira ticket: [PROJ-IDENT]

@datadog-datadog-us1-prod

datadog-datadog-us1-prod Bot commented Jul 28, 2026

Copy link
Copy Markdown

🎯 Code Coverage (details)
Patch Coverage: 85.19%
Overall Coverage: 57.96% (+0.12%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 7071ae2 | Docs | Datadog PR Page | Give us feedback!

@dd-octo-sts

dd-octo-sts Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

🟢 Java Benchmark SLOs — All performance SLOs passed

Suite Status
Startup 🟢 pass

SLO thresholds are defined here based on automatically generated metrics. A warning is raised when results are within 5% of the threshold.

PR vs. master results
Scenario Candidate master Δ (95% CI of mean)
startup:insecure-bank:iast:Agent 14.02 s 13.95 s [-0.3%; +1.3%] (no difference)
startup:insecure-bank:tracing:Agent 12.95 s 13.02 s [-1.2%; +0.2%] (no difference)
startup:petclinic:appsec:Agent 16.82 s 16.59 s [+0.5%; +2.3%] (maybe worse)
startup:petclinic:iast:Agent 16.17 s 16.84 s [-8.1%; +0.2%] (no difference)
startup:petclinic:profiling:Agent 16.80 s 16.99 s [-2.4%; +0.1%] (no difference)
startup:petclinic:sca:Agent 16.38 s 16.40 s [-6.3%; +6.0%] (unstable)
startup:petclinic:tracing:Agent 16.02 s 16.06 s [-1.0%; +0.6%] (no difference)

Commit: 7071ae2e · CI Pipeline · Benchmarking Platform UI


Load and DaCapo benchmarks can be triggered manually in the GitLab pipeline. Results will appear in the Benchmarking Platform UI after completion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant